You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
2.1 KiB
70 lines
2.1 KiB
//using BaseService.Controllers;
|
|
//using Microsoft.AspNetCore.Mvc;
|
|
//using System;
|
|
//using System.Collections.Generic;
|
|
//using System.Text;
|
|
//using System.Threading.Tasks;
|
|
//using BaseService.BaseData.UserBranchRoleManagement;
|
|
//using BaseService.BaseData.UserBranchRoleManagement.Dto;
|
|
//using Volo.Abp.Application.Dtos;
|
|
|
|
//namespace BaseService.HttpApi.BaseData
|
|
//{
|
|
// [Area("base")]
|
|
// [Route("api/base/userBranchRole")]
|
|
// public class UserBranchRoleController : BaseServiceController, IUserBranchAppService
|
|
// {
|
|
// private readonly IUserBranchAppService _jobAppService;
|
|
|
|
// public UserBranchRoleController(IUserBranchAppService jobAppService)
|
|
// {
|
|
// _jobAppService = jobAppService;
|
|
// }
|
|
|
|
// [HttpPost]
|
|
// public Task<UserBranchDto> CreateAsync(CreateOrUpdateUserBranchDto input)
|
|
// {
|
|
// return _jobAppService.CreateAsync(input);
|
|
// }
|
|
|
|
// [HttpPost]
|
|
// [Route("delete")]
|
|
// public Task DeleteAsync(List<Guid> ids)
|
|
// {
|
|
// return _jobAppService.DeleteAsync(ids);
|
|
// }
|
|
|
|
// /// <summary>
|
|
// /// 获取单条数据
|
|
// /// </summary>
|
|
// /// <param name="id"></param>
|
|
// /// <returns></returns>
|
|
// [HttpGet]
|
|
// [Route("{id}")]
|
|
// public Task<UserBranchDto> GetAsync(Guid id)
|
|
// {
|
|
// return _jobAppService.GetAsync(id);
|
|
// }
|
|
|
|
// [HttpGet]
|
|
// [Route("all")]
|
|
// public Task<PagedResultDto<UserBranchDto>> GetPagedListAsync(GetUserBranchInput input)
|
|
// {
|
|
// return _jobAppService.GetPagedListAsync(input);
|
|
// }
|
|
|
|
// //[HttpGet]
|
|
// //[Route("userbranchroles")]
|
|
// //public Task<ListResultDto<UserBranchDto>> GetAllAsync()
|
|
// //{
|
|
// // return _jobAppService.GetAllAsync();
|
|
// //}
|
|
|
|
// [HttpPut]
|
|
// [Route("{id}")]
|
|
// public Task<UserBranchDto> UpdateAsync(Guid id, CreateOrUpdateUserBranchDto input)
|
|
// {
|
|
// return _jobAppService.UpdateAsync(id, input);
|
|
// }
|
|
// }
|
|
//}
|
|
|