Skip to content

Instantly share code, notes, and snippets.

@Sampath-Lokuge
Created June 19, 2018 11:39
Show Gist options
  • Save Sampath-Lokuge/6282cc4ddf58f773a84d5996392d43c9 to your computer and use it in GitHub Desktop.
Save Sampath-Lokuge/6282cc4ddf58f773a84d5996392d43c9 to your computer and use it in GitHub Desktop.
IAgentAppService.cs
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using IP.Agents.Dtos;
namespace IP.Agents
{
public interface IAgentAppService : IApplicationService
{
Task<ListResultDto<AgentListDto>> GetAllAgentsAsync();
Task<AgentEditDto> GetAgentForEditAsync(NullableIdDto<int> input);
Task<int?> CreateOrEditAgentAsync(CreateOrEditAgentInput input);
Task<int> CreateAgentAsync(CreateOrEditAgentInput input);
Task<int?> EditAgentAsync(CreateOrEditAgentInput input);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment