Exemple #1
0
 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));
        }
Exemple #3
0
 public bool AddOoportunity([FromBody] OpportunityDTO opportunity)
 {
     return(_OoportunityService.AddOpportunity(opportunity));
 }