public Response <int> Add(RssEntity input) { Response <RssEntity> validation = _queryRssAggregate.Get(input.UserId, input.AliasName); if (validation.ResponseData != null) { return(Response <int> .Create(0, CDO.Enums.Response.ResponseType.AlreadyExist)); } return(_commandRssAggregate.Add(input)); }
public Response <RssEntity> Get(int id) { return(_queryRssAggregate.Get(id)); }