public bool UpdateOoportunity([FromBody] OpportunityDTO uOpp) { return(_OoportunityService.UpdateOpportunity(uOpp)); }
public bool UpdateOpportunity(OpportunityDTO opp) { Opportunity dbOpp = Mapper.Map <OpportunityDTO, Opportunity>(opp); return(this._Repositories.UpdateOpportunity(dbOpp)); }
public bool AddOoportunity([FromBody] OpportunityDTO opportunity) { return(_OoportunityService.AddOpportunity(opportunity)); }