Exemple #1
0
        public async Task <ActionResult> DeleteFavourite(long userId, long companyId)
        {
            bool result = await _companyManager.DeleteFavourite(userId, companyId);

            if (result)
            {
                return(Ok(new ResponseModel {
                    Status = "ok", Message = "Deleted company from favourite list"
                }));
            }


            return(BadRequest());
        }